export const baseImageUrl = "https://img.jhbytop.com/images"
// const base = "https://api.jhbytop.com";
const base = "https://tryapi.jhbytop.com";
export const baseUrl = `${base}/api`;
export const register = `http://try.jhbytop.com/#/pages/login/register`;

export const captchaAppId = "198199350";

// https://h5.jhbytop.com/

export const field = {
	silver: "官银",
	foodstuff: "粮食",
	cloth: "布匹",
	titledeed: "房契",
	music: "乐谱",
	escort: "镖旗",
};

export const career = {
	1: {
		name: "农民",
		cover: `${baseImageUrl}/role/1.png`,
		avatar: `${baseImageUrl}/role/11.png`,
	},
	2: {
		name: "镖师",
		cover: `${baseImageUrl}/role/2.png`,
		avatar: `${baseImageUrl}/role/21.png`,
	},
	3: {
		name: "司建",
		cover: `${baseImageUrl}/role/3.png`,
		avatar: `${baseImageUrl}/role/31.png`,
	},
	4: {
		name: "乐师",
		cover: `${baseImageUrl}/role/4.png`,
		avatar: `${baseImageUrl}/role/41.png`,
	},
	5: {
		name: "织造",
		cover: `${baseImageUrl}/role/5.png`,
		avatar: `${baseImageUrl}/role/51.png`,
	}
};

export const router_list = {
	0: "/",
	1: "/pages/tabbar/market",
	2: "/pages/tabbar/other",
	3: "/pages/tabbar/my"
};

export const back_url = [
	"pages/home/friends",
	"pages/home/recruit",
	"/pages/my/order",
	"pages/home/store",
	"pages/home/compose",
	"pages/home/temple",
	"pages/home/antique",
	"pages/home/markets",
	"pages/home/industry",
	"pages/home/reproduction",
	"pages/home/ticket",
	"pages/home/chase_to_kill",
	"pages/home/silver_ranking",

	"pages/home/market_list",

	"pages/market/my_collection_list",
	"pages/market/my_blind_box_list",
	"pages/market/my_prop_list",

	"pages/other/deta",
	"pages/my/real",
	"pages/my/log",
	"pages/my/change",
	"pages/my/order"
];

export const type_field = {
	1: "藏品",
	2: "盲盒",
	3: "道具",
	4: "建筑",
	5: "宠物"
};